n = int(input())
result = 2 ** n
print(result)